<%@ page language="java" pageEncoding="UTF-8"
	errorPage="../../defaultException.jsp"%>
<%@include file="../../tags.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>添加酒店首页大图信息</title>
<%@include file="../../head.jsp"%>
</head>
<body>
	<form id="fm" method="post" enctype="multipart/form-data">

		<table class="fitem">
			<tr>
				<td><label>大图类型:</label>
				</td>
				<td>
					<select id="cc"  name="imageType" >
						<option value="1" <c:if test="${bigImageInfo.imageType == 1 }">selected="selected"</c:if>>首页</option>
						<option value="2" <c:if test="${bigImageInfo.imageType == 2 }">selected="selected"</c:if>>风格偏好</option>
						<option value="3" <c:if test="${bigImageInfo.imageType == 3 }">selected="selected"</c:if>>酒店</option>
					</select>
				</td>
			</tr>
			<tr>
				<td><label>大标题/名称：</label></td>
				<td><input  name="imageTitle" data-options="required:true,validType:'length[0,100]'" value="${bigImageInfo.imageTitle }" class="easyui-validatebox"/></td>
			</tr>
			<tr>
				<td><label>小标题/地址：</label></td>
				<td><input  name="imageDesc"  data-options="required:true,validType:'length[0,150]'" value="${bigImageInfo.imageDesc }" class="easyui-validatebox"/></td>
			</tr>
			<tr>
				<td><label>URL地址：</label></td>
				<td><input  name="linkUrl"  data-options="validType:'length[0,150]'" value="${bigImageInfo.linkUrl }" class="easyui-validatebox"/></td>
			</tr>
			<tr>
				<td><label>新大图片：</label></td>
				<td><input  type="file" name="mfile" class="easyui-validatebox"/></td>
			</tr>
				<tr>
				<td><label>旧大图片：</label></td>
				<td><img  src="${image_domain}${bigImageInfo.origImage }" width="200px" height="100px"/></td>
			</tr>
			<input type="hidden" name="imageId" value="${bigImageInfo.imageId }" />
			<input type="hidden" name="origImage" value="${bigImageInfo.origImage }" />
		</table>
		
	</form>


	<style type="text/css">
			#fm {
				margin: 0;
				padding: 40px 40px;
			}
			
			.ftitle {
				font-size: 14px;
				font-weight: bold;
				padding: 5px 0;
				margin-bottom: 10px;
				border-bottom: 1px solid #ccc;
			}
			
			.fitem {
				margin-bottom: 5px;
			}
			
			.fitem label {
				display: inline-block;
				width: 110px;
			}
			
		 </style>
</body>
</html>